package com.woniu.hospital.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 手术记录表对象 surgical
 * 
 * @author wolf-six
 * @date 2023-02-15
 */
public class Surgical extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long surgicalId;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Date surgicalTime;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String surgicalResult;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long docterId;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long patientId;

    public void setSurgicalId(Long surgicalId) 
    {
        this.surgicalId = surgicalId;
    }

    public Long getSurgicalId() 
    {
        return surgicalId;
    }
    public void setSurgicalTime(Date surgicalTime) 
    {
        this.surgicalTime = surgicalTime;
    }

    public Date getSurgicalTime() 
    {
        return surgicalTime;
    }
    public void setSurgicalResult(String surgicalResult) 
    {
        this.surgicalResult = surgicalResult;
    }

    public String getSurgicalResult() 
    {
        return surgicalResult;
    }
    public void setDocterId(Long docterId) 
    {
        this.docterId = docterId;
    }

    public Long getDocterId() 
    {
        return docterId;
    }
    public void setPatientId(Long patientId) 
    {
        this.patientId = patientId;
    }

    public Long getPatientId() 
    {
        return patientId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("surgicalId", getSurgicalId())
            .append("surgicalTime", getSurgicalTime())
            .append("surgicalResult", getSurgicalResult())
            .append("docterId", getDocterId())
            .append("patientId", getPatientId())
            .toString();
    }
}
